//
//  DECXSettingViewController.m
//  DECXInStore
//
//  Created by 程强 on 15/12/25.
//  Copyright © 2015年 程强. All rights reserved.
//

#import "DECXSettingViewController.h"

@interface DECXSettingViewController ()

@end

@implementation DECXSettingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
    self.versionLbl.text = [NSString stringWithFormat:@"V%@",appVersion];
    
    if (isEnterprise) {
        self.versionBtn.hidden = NO;
        self.versionNextMark.hidden = NO;
    }else{
        self.versionBtn.hidden = YES;
        self.versionNextMark.hidden = YES;
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    UIViewController *vc = [segue destinationViewController];
    [vc setHidesBottomBarWhenPushed:YES];
    // Pass the selected object to the new view controller.
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
